using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
using System.Data;
using System.Configuration;
using Bussiness.Config;     
using Bussiness.Entity;
namespace Bussiness.ManagerBase
{
                

     public abstract class DMS002ManagerBase
    {
        public DMS002ManagerBase()
        {
            Adapter.ConnectionString =  ConnectionConfig.ConnectionString;            
        }
                    
 
        /// <summary>
        /// Them moi du lieu
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity Insert(DMS002Entity obj)
        { 
            return (DMS002Entity) Adapter.Insert(obj);             
        }
 
 
        /// <summary>
        /// Update du lieu theo khoa chinh cua object
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity Update(DMS002Entity obj)
        { 
            return (DMS002Entity)Adapter.Update(obj);             
        }
 
 
        public DMS002Entity Delete(DMS002Entity obj)
        { 
            return (DMS002Entity)Adapter.Delete(obj);             
        }
 


        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien DEALER_CODE duoc set trong object
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByDEALER_CODE (DMS002Entity obj)
        { 
            return (DMS002Entity)Adapter.DeleteByField(obj,"DEALER_CODE");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien DEALER_CODE 
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByDEALER_CODE (string DEALER_CODE )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.DEALER_CODE = DEALER_CODE;  
            return (DMS002Entity)Adapter.DeleteByField(obj,"DEALER_CODE");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien CLIENT_CODE duoc set trong object
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByCLIENT_CODE (DMS002Entity obj)
        { 
            return (DMS002Entity)Adapter.DeleteByField(obj,"CLIENT_CODE");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien CLIENT_CODE 
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByCLIENT_CODE (string CLIENT_CODE )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.CLIENT_CODE = CLIENT_CODE;  
            return (DMS002Entity)Adapter.DeleteByField(obj,"CLIENT_CODE");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien SHORT_NAME duoc set trong object
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteBySHORT_NAME (DMS002Entity obj)
        { 
            return (DMS002Entity)Adapter.DeleteByField(obj,"SHORT_NAME");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien SHORT_NAME 
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteBySHORT_NAME (string SHORT_NAME )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.SHORT_NAME = SHORT_NAME;  
            return (DMS002Entity)Adapter.DeleteByField(obj,"SHORT_NAME");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien FULL_NAME duoc set trong object
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByFULL_NAME (DMS002Entity obj)
        { 
            return (DMS002Entity)Adapter.DeleteByField(obj,"FULL_NAME");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien FULL_NAME 
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByFULL_NAME (string FULL_NAME )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.FULL_NAME = FULL_NAME;  
            return (DMS002Entity)Adapter.DeleteByField(obj,"FULL_NAME");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien HEAD_ADD duoc set trong object
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByHEAD_ADD (DMS002Entity obj)
        { 
            return (DMS002Entity)Adapter.DeleteByField(obj,"HEAD_ADD");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien HEAD_ADD 
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByHEAD_ADD (string HEAD_ADD )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_ADD = HEAD_ADD;  
            return (DMS002Entity)Adapter.DeleteByField(obj,"HEAD_ADD");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien D_CODE duoc set trong object
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByD_CODE (DMS002Entity obj)
        { 
            return (DMS002Entity)Adapter.DeleteByField(obj,"D_CODE");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien D_CODE 
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByD_CODE (string D_CODE )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.D_CODE = D_CODE;  
            return (DMS002Entity)Adapter.DeleteByField(obj,"D_CODE");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien P_CODE duoc set trong object
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByP_CODE (DMS002Entity obj)
        { 
            return (DMS002Entity)Adapter.DeleteByField(obj,"P_CODE");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien P_CODE 
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByP_CODE (string P_CODE )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.P_CODE = P_CODE;  
            return (DMS002Entity)Adapter.DeleteByField(obj,"P_CODE");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien HEAD_TEL duoc set trong object
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByHEAD_TEL (DMS002Entity obj)
        { 
            return (DMS002Entity)Adapter.DeleteByField(obj,"HEAD_TEL");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien HEAD_TEL 
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByHEAD_TEL (string HEAD_TEL )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_TEL = HEAD_TEL;  
            return (DMS002Entity)Adapter.DeleteByField(obj,"HEAD_TEL");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien HEAD_FAX duoc set trong object
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByHEAD_FAX (DMS002Entity obj)
        { 
            return (DMS002Entity)Adapter.DeleteByField(obj,"HEAD_FAX");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien HEAD_FAX 
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByHEAD_FAX (string HEAD_FAX )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_FAX = HEAD_FAX;  
            return (DMS002Entity)Adapter.DeleteByField(obj,"HEAD_FAX");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien HEAD_EMAIL duoc set trong object
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByHEAD_EMAIL (DMS002Entity obj)
        { 
            return (DMS002Entity)Adapter.DeleteByField(obj,"HEAD_EMAIL");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien HEAD_EMAIL 
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByHEAD_EMAIL (string HEAD_EMAIL )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_EMAIL = HEAD_EMAIL;  
            return (DMS002Entity)Adapter.DeleteByField(obj,"HEAD_EMAIL");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien HEAD_TAX_CODE duoc set trong object
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByHEAD_TAX_CODE (DMS002Entity obj)
        { 
            return (DMS002Entity)Adapter.DeleteByField(obj,"HEAD_TAX_CODE");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien HEAD_TAX_CODE 
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByHEAD_TAX_CODE (string HEAD_TAX_CODE )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_TAX_CODE = HEAD_TAX_CODE;  
            return (DMS002Entity)Adapter.DeleteByField(obj,"HEAD_TAX_CODE");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien HEAD_ACC_NO duoc set trong object
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByHEAD_ACC_NO (DMS002Entity obj)
        { 
            return (DMS002Entity)Adapter.DeleteByField(obj,"HEAD_ACC_NO");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien HEAD_ACC_NO 
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByHEAD_ACC_NO (string HEAD_ACC_NO )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_ACC_NO = HEAD_ACC_NO;  
            return (DMS002Entity)Adapter.DeleteByField(obj,"HEAD_ACC_NO");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien HEAD_BANK_NAME duoc set trong object
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByHEAD_BANK_NAME (DMS002Entity obj)
        { 
            return (DMS002Entity)Adapter.DeleteByField(obj,"HEAD_BANK_NAME");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien HEAD_BANK_NAME 
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByHEAD_BANK_NAME (string HEAD_BANK_NAME )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_BANK_NAME = HEAD_BANK_NAME;  
            return (DMS002Entity)Adapter.DeleteByField(obj,"HEAD_BANK_NAME");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien ACTFLG duoc set trong object
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByACTFLG (DMS002Entity obj)
        { 
            return (DMS002Entity)Adapter.DeleteByField(obj,"ACTFLG");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien ACTFLG 
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByACTFLG (string ACTFLG )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.ACTFLG = ACTFLG;  
            return (DMS002Entity)Adapter.DeleteByField(obj,"ACTFLG");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien CTDUSR duoc set trong object
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByCTDUSR (DMS002Entity obj)
        { 
            return (DMS002Entity)Adapter.DeleteByField(obj,"CTDUSR");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien CTDUSR 
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByCTDUSR (string CTDUSR )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.CTDUSR = CTDUSR;  
            return (DMS002Entity)Adapter.DeleteByField(obj,"CTDUSR");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien CTDWKS duoc set trong object
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByCTDWKS (DMS002Entity obj)
        { 
            return (DMS002Entity)Adapter.DeleteByField(obj,"CTDWKS");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien CTDWKS 
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByCTDWKS (string CTDWKS )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.CTDWKS = CTDWKS;  
            return (DMS002Entity)Adapter.DeleteByField(obj,"CTDWKS");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien CTDPGM duoc set trong object
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByCTDPGM (DMS002Entity obj)
        { 
            return (DMS002Entity)Adapter.DeleteByField(obj,"CTDPGM");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien CTDPGM 
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByCTDPGM (string CTDPGM )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.CTDPGM = CTDPGM;  
            return (DMS002Entity)Adapter.DeleteByField(obj,"CTDPGM");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien CTDDTM duoc set trong object
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByCTDDTM (DMS002Entity obj)
        { 
            return (DMS002Entity)Adapter.DeleteByField(obj,"CTDDTM");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien CTDDTM 
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByCTDDTM (DateTime CTDDTM )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.CTDDTM = CTDDTM;  
            return (DMS002Entity)Adapter.DeleteByField(obj,"CTDDTM");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien MDFUSR duoc set trong object
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByMDFUSR (DMS002Entity obj)
        { 
            return (DMS002Entity)Adapter.DeleteByField(obj,"MDFUSR");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien MDFUSR 
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByMDFUSR (string MDFUSR )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.MDFUSR = MDFUSR;  
            return (DMS002Entity)Adapter.DeleteByField(obj,"MDFUSR");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien MDFWKS duoc set trong object
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByMDFWKS (DMS002Entity obj)
        { 
            return (DMS002Entity)Adapter.DeleteByField(obj,"MDFWKS");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien MDFWKS 
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByMDFWKS (string MDFWKS )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.MDFWKS = MDFWKS;  
            return (DMS002Entity)Adapter.DeleteByField(obj,"MDFWKS");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien MDFPGM duoc set trong object
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByMDFPGM (DMS002Entity obj)
        { 
            return (DMS002Entity)Adapter.DeleteByField(obj,"MDFPGM");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien MDFPGM 
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByMDFPGM (string MDFPGM )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.MDFPGM = MDFPGM;  
            return (DMS002Entity)Adapter.DeleteByField(obj,"MDFPGM");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien LSTMDF duoc set trong object
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByLSTMDF (DMS002Entity obj)
        { 
            return (DMS002Entity)Adapter.DeleteByField(obj,"LSTMDF");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien LSTMDF 
        /// </summary>
        /// <returns>DMS002Entity</returns>
        public DMS002Entity DeleteByLSTMDF (DateTime LSTMDF )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.LSTMDF = LSTMDF;  
            return (DMS002Entity)Adapter.DeleteByField(obj,"LSTMDF");
        }

 
        /// <summary>
        /// Lay du lieu theo khoa chinh object
        /// </summary>
        /// <returns></returns>
        public DMS002Entity Select(DMS002Entity obj)
        { 
            return (DMS002Entity) Adapter.Select(obj);             
        }
 
 
        /// <summary>
        /// Lay du lieu theo cac dieu kien duoc set trong object
        /// </summary>
        /// <returns></returns>
        public DataTable SelectWithCondition(DMS002Entity obj)
        { 
            return  Adapter.SelectWithCondition(obj);             
        }
 
 
        /// <summary>
        /// Lay du lieu theo cac dieu kien duoc set trong object
        /// </summary>
        /// <returns></returns>
        public DataTable SelectWithCondition(DMS002Entity obj,SelectOptions option)
        {             
            return  Adapter.SelectWithCondition(obj,option);             
        }
 
 
        /// <summary>
        /// Lay tat ca cac du lieu trong table
        /// </summary>
        /// <returns></returns>
        public DataTable SelectAll()
        { 
            return Adapter.SelectAll(new DMS002Entity());             
        }
 
 
        /// <summary>
        /// Lay tat ca cac du lieu trong table
        /// </summary>
        /// <returns></returns>
        public DataTable SelectAll(SelectOptions option)
        { 
            return Adapter.SelectAll(new DMS002Entity(),option);             
        }
 
 
        /// <summary>
        /// Lay tat ca cac du lieu trong table
        /// </summary>
        /// <returns></returns>
        public List<DMS002Entity> SelectAllLST()
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectAll(new DMS002Entity()),new DMS002Entity());           
        }
 
 
        /// <summary>
        /// Lay tat ca cac du lieu trong table
        /// </summary>
        /// <returns></returns>
        public List<DMS002Entity> SelectAllLST(SelectOptions option)
        { 
            return (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectAll(new DMS002Entity(),option),new DMS002Entity());             
        }
 

        /// <summary>
        /// Lay du lieu theo cac dieu kien DEALER_CODE duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByDEALER_CODE (DMS002Entity obj)
        { 
            return Adapter.SelectByField(obj,"DEALER_CODE");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien DEALER_CODE duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByDEALER_CODE (DMS002Entity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"DEALER_CODE",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien DEALER_CODE duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByDEALER_CODELST (DMS002Entity obj)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"DEALER_CODE"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien DEALER_CODE duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByDEALER_CODELST (DMS002Entity obj,SelectOptions option)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"DEALER_CODE",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien DEALER_CODE 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByDEALER_CODE (string DEALER_CODE )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.DEALER_CODE = DEALER_CODE;  
            return Adapter.SelectByField(obj,"DEALER_CODE");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien DEALER_CODE duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByDEALER_CODE (string DEALER_CODE, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.DEALER_CODE = DEALER_CODE;  
            return Adapter.SelectByField(obj,"DEALER_CODE",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien DEALER_CODE 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByDEALER_CODELST (string DEALER_CODE )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.DEALER_CODE = DEALER_CODE;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"DEALER_CODE"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien DEALER_CODE duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByDEALER_CODELST (string DEALER_CODE, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.DEALER_CODE = DEALER_CODE;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"DEALER_CODE",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CLIENT_CODE duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByCLIENT_CODE (DMS002Entity obj)
        { 
            return Adapter.SelectByField(obj,"CLIENT_CODE");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CLIENT_CODE duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByCLIENT_CODE (DMS002Entity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"CLIENT_CODE",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CLIENT_CODE duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByCLIENT_CODELST (DMS002Entity obj)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"CLIENT_CODE"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CLIENT_CODE duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByCLIENT_CODELST (DMS002Entity obj,SelectOptions option)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"CLIENT_CODE",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CLIENT_CODE 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByCLIENT_CODE (string CLIENT_CODE )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.CLIENT_CODE = CLIENT_CODE;  
            return Adapter.SelectByField(obj,"CLIENT_CODE");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CLIENT_CODE duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByCLIENT_CODE (string CLIENT_CODE, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.CLIENT_CODE = CLIENT_CODE;  
            return Adapter.SelectByField(obj,"CLIENT_CODE",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CLIENT_CODE 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByCLIENT_CODELST (string CLIENT_CODE )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.CLIENT_CODE = CLIENT_CODE;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"CLIENT_CODE"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CLIENT_CODE duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByCLIENT_CODELST (string CLIENT_CODE, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.CLIENT_CODE = CLIENT_CODE;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"CLIENT_CODE",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien SHORT_NAME duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectBySHORT_NAME (DMS002Entity obj)
        { 
            return Adapter.SelectByField(obj,"SHORT_NAME");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien SHORT_NAME duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectBySHORT_NAME (DMS002Entity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"SHORT_NAME",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien SHORT_NAME duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectBySHORT_NAMELST (DMS002Entity obj)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"SHORT_NAME"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien SHORT_NAME duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectBySHORT_NAMELST (DMS002Entity obj,SelectOptions option)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"SHORT_NAME",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien SHORT_NAME 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectBySHORT_NAME (string SHORT_NAME )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.SHORT_NAME = SHORT_NAME;  
            return Adapter.SelectByField(obj,"SHORT_NAME");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien SHORT_NAME duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectBySHORT_NAME (string SHORT_NAME, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.SHORT_NAME = SHORT_NAME;  
            return Adapter.SelectByField(obj,"SHORT_NAME",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien SHORT_NAME 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectBySHORT_NAMELST (string SHORT_NAME )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.SHORT_NAME = SHORT_NAME;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"SHORT_NAME"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien SHORT_NAME duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectBySHORT_NAMELST (string SHORT_NAME, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.SHORT_NAME = SHORT_NAME;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"SHORT_NAME",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien FULL_NAME duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByFULL_NAME (DMS002Entity obj)
        { 
            return Adapter.SelectByField(obj,"FULL_NAME");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien FULL_NAME duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByFULL_NAME (DMS002Entity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"FULL_NAME",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien FULL_NAME duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByFULL_NAMELST (DMS002Entity obj)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"FULL_NAME"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien FULL_NAME duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByFULL_NAMELST (DMS002Entity obj,SelectOptions option)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"FULL_NAME",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien FULL_NAME 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByFULL_NAME (string FULL_NAME )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.FULL_NAME = FULL_NAME;  
            return Adapter.SelectByField(obj,"FULL_NAME");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien FULL_NAME duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByFULL_NAME (string FULL_NAME, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.FULL_NAME = FULL_NAME;  
            return Adapter.SelectByField(obj,"FULL_NAME",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien FULL_NAME 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByFULL_NAMELST (string FULL_NAME )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.FULL_NAME = FULL_NAME;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"FULL_NAME"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien FULL_NAME duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByFULL_NAMELST (string FULL_NAME, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.FULL_NAME = FULL_NAME;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"FULL_NAME",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_ADD duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_ADD (DMS002Entity obj)
        { 
            return Adapter.SelectByField(obj,"HEAD_ADD");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_ADD duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_ADD (DMS002Entity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"HEAD_ADD",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_ADD duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByHEAD_ADDLST (DMS002Entity obj)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"HEAD_ADD"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_ADD duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByHEAD_ADDLST (DMS002Entity obj,SelectOptions option)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"HEAD_ADD",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_ADD 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_ADD (string HEAD_ADD )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_ADD = HEAD_ADD;  
            return Adapter.SelectByField(obj,"HEAD_ADD");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_ADD duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_ADD (string HEAD_ADD, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_ADD = HEAD_ADD;  
            return Adapter.SelectByField(obj,"HEAD_ADD",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_ADD 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByHEAD_ADDLST (string HEAD_ADD )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_ADD = HEAD_ADD;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"HEAD_ADD"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_ADD duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByHEAD_ADDLST (string HEAD_ADD, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_ADD = HEAD_ADD;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"HEAD_ADD",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien D_CODE duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByD_CODE (DMS002Entity obj)
        { 
            return Adapter.SelectByField(obj,"D_CODE");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien D_CODE duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByD_CODE (DMS002Entity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"D_CODE",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien D_CODE duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByD_CODELST (DMS002Entity obj)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"D_CODE"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien D_CODE duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByD_CODELST (DMS002Entity obj,SelectOptions option)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"D_CODE",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien D_CODE 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByD_CODE (string D_CODE )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.D_CODE = D_CODE;  
            return Adapter.SelectByField(obj,"D_CODE");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien D_CODE duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByD_CODE (string D_CODE, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.D_CODE = D_CODE;  
            return Adapter.SelectByField(obj,"D_CODE",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien D_CODE 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByD_CODELST (string D_CODE )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.D_CODE = D_CODE;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"D_CODE"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien D_CODE duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByD_CODELST (string D_CODE, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.D_CODE = D_CODE;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"D_CODE",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien P_CODE duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByP_CODE (DMS002Entity obj)
        { 
            return Adapter.SelectByField(obj,"P_CODE");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien P_CODE duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByP_CODE (DMS002Entity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"P_CODE",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien P_CODE duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByP_CODELST (DMS002Entity obj)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"P_CODE"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien P_CODE duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByP_CODELST (DMS002Entity obj,SelectOptions option)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"P_CODE",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien P_CODE 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByP_CODE (string P_CODE )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.P_CODE = P_CODE;  
            return Adapter.SelectByField(obj,"P_CODE");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien P_CODE duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByP_CODE (string P_CODE, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.P_CODE = P_CODE;  
            return Adapter.SelectByField(obj,"P_CODE",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien P_CODE 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByP_CODELST (string P_CODE )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.P_CODE = P_CODE;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"P_CODE"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien P_CODE duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByP_CODELST (string P_CODE, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.P_CODE = P_CODE;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"P_CODE",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_TEL duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_TEL (DMS002Entity obj)
        { 
            return Adapter.SelectByField(obj,"HEAD_TEL");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_TEL duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_TEL (DMS002Entity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"HEAD_TEL",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_TEL duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByHEAD_TELLST (DMS002Entity obj)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"HEAD_TEL"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_TEL duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByHEAD_TELLST (DMS002Entity obj,SelectOptions option)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"HEAD_TEL",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_TEL 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_TEL (string HEAD_TEL )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_TEL = HEAD_TEL;  
            return Adapter.SelectByField(obj,"HEAD_TEL");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_TEL duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_TEL (string HEAD_TEL, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_TEL = HEAD_TEL;  
            return Adapter.SelectByField(obj,"HEAD_TEL",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_TEL 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByHEAD_TELLST (string HEAD_TEL )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_TEL = HEAD_TEL;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"HEAD_TEL"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_TEL duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByHEAD_TELLST (string HEAD_TEL, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_TEL = HEAD_TEL;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"HEAD_TEL",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_FAX duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_FAX (DMS002Entity obj)
        { 
            return Adapter.SelectByField(obj,"HEAD_FAX");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_FAX duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_FAX (DMS002Entity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"HEAD_FAX",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_FAX duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByHEAD_FAXLST (DMS002Entity obj)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"HEAD_FAX"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_FAX duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByHEAD_FAXLST (DMS002Entity obj,SelectOptions option)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"HEAD_FAX",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_FAX 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_FAX (string HEAD_FAX )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_FAX = HEAD_FAX;  
            return Adapter.SelectByField(obj,"HEAD_FAX");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_FAX duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_FAX (string HEAD_FAX, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_FAX = HEAD_FAX;  
            return Adapter.SelectByField(obj,"HEAD_FAX",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_FAX 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByHEAD_FAXLST (string HEAD_FAX )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_FAX = HEAD_FAX;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"HEAD_FAX"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_FAX duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByHEAD_FAXLST (string HEAD_FAX, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_FAX = HEAD_FAX;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"HEAD_FAX",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_EMAIL duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_EMAIL (DMS002Entity obj)
        { 
            return Adapter.SelectByField(obj,"HEAD_EMAIL");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_EMAIL duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_EMAIL (DMS002Entity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"HEAD_EMAIL",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_EMAIL duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByHEAD_EMAILLST (DMS002Entity obj)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"HEAD_EMAIL"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_EMAIL duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByHEAD_EMAILLST (DMS002Entity obj,SelectOptions option)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"HEAD_EMAIL",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_EMAIL 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_EMAIL (string HEAD_EMAIL )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_EMAIL = HEAD_EMAIL;  
            return Adapter.SelectByField(obj,"HEAD_EMAIL");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_EMAIL duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_EMAIL (string HEAD_EMAIL, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_EMAIL = HEAD_EMAIL;  
            return Adapter.SelectByField(obj,"HEAD_EMAIL",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_EMAIL 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByHEAD_EMAILLST (string HEAD_EMAIL )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_EMAIL = HEAD_EMAIL;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"HEAD_EMAIL"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_EMAIL duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByHEAD_EMAILLST (string HEAD_EMAIL, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_EMAIL = HEAD_EMAIL;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"HEAD_EMAIL",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_TAX_CODE duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_TAX_CODE (DMS002Entity obj)
        { 
            return Adapter.SelectByField(obj,"HEAD_TAX_CODE");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_TAX_CODE duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_TAX_CODE (DMS002Entity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"HEAD_TAX_CODE",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_TAX_CODE duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByHEAD_TAX_CODELST (DMS002Entity obj)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"HEAD_TAX_CODE"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_TAX_CODE duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByHEAD_TAX_CODELST (DMS002Entity obj,SelectOptions option)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"HEAD_TAX_CODE",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_TAX_CODE 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_TAX_CODE (string HEAD_TAX_CODE )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_TAX_CODE = HEAD_TAX_CODE;  
            return Adapter.SelectByField(obj,"HEAD_TAX_CODE");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_TAX_CODE duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_TAX_CODE (string HEAD_TAX_CODE, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_TAX_CODE = HEAD_TAX_CODE;  
            return Adapter.SelectByField(obj,"HEAD_TAX_CODE",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_TAX_CODE 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByHEAD_TAX_CODELST (string HEAD_TAX_CODE )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_TAX_CODE = HEAD_TAX_CODE;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"HEAD_TAX_CODE"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_TAX_CODE duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByHEAD_TAX_CODELST (string HEAD_TAX_CODE, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_TAX_CODE = HEAD_TAX_CODE;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"HEAD_TAX_CODE",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_ACC_NO duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_ACC_NO (DMS002Entity obj)
        { 
            return Adapter.SelectByField(obj,"HEAD_ACC_NO");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_ACC_NO duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_ACC_NO (DMS002Entity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"HEAD_ACC_NO",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_ACC_NO duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByHEAD_ACC_NOLST (DMS002Entity obj)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"HEAD_ACC_NO"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_ACC_NO duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByHEAD_ACC_NOLST (DMS002Entity obj,SelectOptions option)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"HEAD_ACC_NO",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_ACC_NO 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_ACC_NO (string HEAD_ACC_NO )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_ACC_NO = HEAD_ACC_NO;  
            return Adapter.SelectByField(obj,"HEAD_ACC_NO");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_ACC_NO duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_ACC_NO (string HEAD_ACC_NO, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_ACC_NO = HEAD_ACC_NO;  
            return Adapter.SelectByField(obj,"HEAD_ACC_NO",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_ACC_NO 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByHEAD_ACC_NOLST (string HEAD_ACC_NO )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_ACC_NO = HEAD_ACC_NO;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"HEAD_ACC_NO"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_ACC_NO duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByHEAD_ACC_NOLST (string HEAD_ACC_NO, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_ACC_NO = HEAD_ACC_NO;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"HEAD_ACC_NO",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_BANK_NAME duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_BANK_NAME (DMS002Entity obj)
        { 
            return Adapter.SelectByField(obj,"HEAD_BANK_NAME");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_BANK_NAME duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_BANK_NAME (DMS002Entity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"HEAD_BANK_NAME",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_BANK_NAME duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByHEAD_BANK_NAMELST (DMS002Entity obj)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"HEAD_BANK_NAME"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_BANK_NAME duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByHEAD_BANK_NAMELST (DMS002Entity obj,SelectOptions option)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"HEAD_BANK_NAME",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_BANK_NAME 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_BANK_NAME (string HEAD_BANK_NAME )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_BANK_NAME = HEAD_BANK_NAME;  
            return Adapter.SelectByField(obj,"HEAD_BANK_NAME");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_BANK_NAME duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByHEAD_BANK_NAME (string HEAD_BANK_NAME, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_BANK_NAME = HEAD_BANK_NAME;  
            return Adapter.SelectByField(obj,"HEAD_BANK_NAME",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_BANK_NAME 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByHEAD_BANK_NAMELST (string HEAD_BANK_NAME )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_BANK_NAME = HEAD_BANK_NAME;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"HEAD_BANK_NAME"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien HEAD_BANK_NAME duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByHEAD_BANK_NAMELST (string HEAD_BANK_NAME, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.HEAD_BANK_NAME = HEAD_BANK_NAME;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"HEAD_BANK_NAME",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ACTFLG duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByACTFLG (DMS002Entity obj)
        { 
            return Adapter.SelectByField(obj,"ACTFLG");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ACTFLG duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByACTFLG (DMS002Entity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"ACTFLG",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ACTFLG duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByACTFLGLST (DMS002Entity obj)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"ACTFLG"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ACTFLG duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByACTFLGLST (DMS002Entity obj,SelectOptions option)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"ACTFLG",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ACTFLG 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByACTFLG (string ACTFLG )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.ACTFLG = ACTFLG;  
            return Adapter.SelectByField(obj,"ACTFLG");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ACTFLG duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByACTFLG (string ACTFLG, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.ACTFLG = ACTFLG;  
            return Adapter.SelectByField(obj,"ACTFLG",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ACTFLG 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByACTFLGLST (string ACTFLG )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.ACTFLG = ACTFLG;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"ACTFLG"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ACTFLG duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByACTFLGLST (string ACTFLG, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.ACTFLG = ACTFLG;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"ACTFLG",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDUSR duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByCTDUSR (DMS002Entity obj)
        { 
            return Adapter.SelectByField(obj,"CTDUSR");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDUSR duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByCTDUSR (DMS002Entity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"CTDUSR",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDUSR duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByCTDUSRLST (DMS002Entity obj)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"CTDUSR"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDUSR duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByCTDUSRLST (DMS002Entity obj,SelectOptions option)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"CTDUSR",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDUSR 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByCTDUSR (string CTDUSR )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.CTDUSR = CTDUSR;  
            return Adapter.SelectByField(obj,"CTDUSR");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDUSR duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByCTDUSR (string CTDUSR, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.CTDUSR = CTDUSR;  
            return Adapter.SelectByField(obj,"CTDUSR",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDUSR 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByCTDUSRLST (string CTDUSR )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.CTDUSR = CTDUSR;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"CTDUSR"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDUSR duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByCTDUSRLST (string CTDUSR, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.CTDUSR = CTDUSR;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"CTDUSR",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDWKS duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByCTDWKS (DMS002Entity obj)
        { 
            return Adapter.SelectByField(obj,"CTDWKS");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDWKS duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByCTDWKS (DMS002Entity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"CTDWKS",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDWKS duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByCTDWKSLST (DMS002Entity obj)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"CTDWKS"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDWKS duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByCTDWKSLST (DMS002Entity obj,SelectOptions option)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"CTDWKS",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDWKS 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByCTDWKS (string CTDWKS )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.CTDWKS = CTDWKS;  
            return Adapter.SelectByField(obj,"CTDWKS");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDWKS duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByCTDWKS (string CTDWKS, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.CTDWKS = CTDWKS;  
            return Adapter.SelectByField(obj,"CTDWKS",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDWKS 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByCTDWKSLST (string CTDWKS )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.CTDWKS = CTDWKS;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"CTDWKS"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDWKS duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByCTDWKSLST (string CTDWKS, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.CTDWKS = CTDWKS;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"CTDWKS",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDPGM duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByCTDPGM (DMS002Entity obj)
        { 
            return Adapter.SelectByField(obj,"CTDPGM");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDPGM duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByCTDPGM (DMS002Entity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"CTDPGM",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDPGM duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByCTDPGMLST (DMS002Entity obj)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"CTDPGM"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDPGM duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByCTDPGMLST (DMS002Entity obj,SelectOptions option)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"CTDPGM",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDPGM 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByCTDPGM (string CTDPGM )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.CTDPGM = CTDPGM;  
            return Adapter.SelectByField(obj,"CTDPGM");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDPGM duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByCTDPGM (string CTDPGM, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.CTDPGM = CTDPGM;  
            return Adapter.SelectByField(obj,"CTDPGM",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDPGM 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByCTDPGMLST (string CTDPGM )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.CTDPGM = CTDPGM;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"CTDPGM"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDPGM duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByCTDPGMLST (string CTDPGM, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.CTDPGM = CTDPGM;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"CTDPGM",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDDTM duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByCTDDTM (DMS002Entity obj)
        { 
            return Adapter.SelectByField(obj,"CTDDTM");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDDTM duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByCTDDTM (DMS002Entity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"CTDDTM",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDDTM duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByCTDDTMLST (DMS002Entity obj)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"CTDDTM"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDDTM duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByCTDDTMLST (DMS002Entity obj,SelectOptions option)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"CTDDTM",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDDTM 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByCTDDTM (DateTime CTDDTM )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.CTDDTM = CTDDTM;  
            return Adapter.SelectByField(obj,"CTDDTM");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDDTM duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByCTDDTM (DateTime CTDDTM, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.CTDDTM = CTDDTM;  
            return Adapter.SelectByField(obj,"CTDDTM",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDDTM 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByCTDDTMLST (DateTime CTDDTM )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.CTDDTM = CTDDTM;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"CTDDTM"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien CTDDTM duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByCTDDTMLST (DateTime CTDDTM, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.CTDDTM = CTDDTM;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"CTDDTM",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MDFUSR duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMDFUSR (DMS002Entity obj)
        { 
            return Adapter.SelectByField(obj,"MDFUSR");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MDFUSR duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMDFUSR (DMS002Entity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"MDFUSR",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MDFUSR duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByMDFUSRLST (DMS002Entity obj)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"MDFUSR"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MDFUSR duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByMDFUSRLST (DMS002Entity obj,SelectOptions option)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"MDFUSR",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MDFUSR 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMDFUSR (string MDFUSR )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.MDFUSR = MDFUSR;  
            return Adapter.SelectByField(obj,"MDFUSR");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MDFUSR duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMDFUSR (string MDFUSR, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.MDFUSR = MDFUSR;  
            return Adapter.SelectByField(obj,"MDFUSR",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MDFUSR 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByMDFUSRLST (string MDFUSR )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.MDFUSR = MDFUSR;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"MDFUSR"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MDFUSR duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByMDFUSRLST (string MDFUSR, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.MDFUSR = MDFUSR;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"MDFUSR",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MDFWKS duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMDFWKS (DMS002Entity obj)
        { 
            return Adapter.SelectByField(obj,"MDFWKS");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MDFWKS duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMDFWKS (DMS002Entity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"MDFWKS",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MDFWKS duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByMDFWKSLST (DMS002Entity obj)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"MDFWKS"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MDFWKS duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByMDFWKSLST (DMS002Entity obj,SelectOptions option)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"MDFWKS",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MDFWKS 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMDFWKS (string MDFWKS )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.MDFWKS = MDFWKS;  
            return Adapter.SelectByField(obj,"MDFWKS");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MDFWKS duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMDFWKS (string MDFWKS, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.MDFWKS = MDFWKS;  
            return Adapter.SelectByField(obj,"MDFWKS",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MDFWKS 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByMDFWKSLST (string MDFWKS )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.MDFWKS = MDFWKS;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"MDFWKS"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MDFWKS duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByMDFWKSLST (string MDFWKS, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.MDFWKS = MDFWKS;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"MDFWKS",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MDFPGM duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMDFPGM (DMS002Entity obj)
        { 
            return Adapter.SelectByField(obj,"MDFPGM");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MDFPGM duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMDFPGM (DMS002Entity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"MDFPGM",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MDFPGM duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByMDFPGMLST (DMS002Entity obj)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"MDFPGM"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MDFPGM duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByMDFPGMLST (DMS002Entity obj,SelectOptions option)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"MDFPGM",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MDFPGM 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMDFPGM (string MDFPGM )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.MDFPGM = MDFPGM;  
            return Adapter.SelectByField(obj,"MDFPGM");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MDFPGM duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMDFPGM (string MDFPGM, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.MDFPGM = MDFPGM;  
            return Adapter.SelectByField(obj,"MDFPGM",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MDFPGM 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByMDFPGMLST (string MDFPGM )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.MDFPGM = MDFPGM;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"MDFPGM"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MDFPGM duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByMDFPGMLST (string MDFPGM, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.MDFPGM = MDFPGM;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"MDFPGM",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien LSTMDF duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByLSTMDF (DMS002Entity obj)
        { 
            return Adapter.SelectByField(obj,"LSTMDF");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien LSTMDF duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByLSTMDF (DMS002Entity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"LSTMDF",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien LSTMDF duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByLSTMDFLST (DMS002Entity obj)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"LSTMDF"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien LSTMDF duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectByLSTMDFLST (DMS002Entity obj,SelectOptions option)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"LSTMDF",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien LSTMDF 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByLSTMDF (DateTime LSTMDF )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.LSTMDF = LSTMDF;  
            return Adapter.SelectByField(obj,"LSTMDF");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien LSTMDF duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByLSTMDF (DateTime LSTMDF, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.LSTMDF = LSTMDF;  
            return Adapter.SelectByField(obj,"LSTMDF",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien LSTMDF 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByLSTMDFLST (DateTime LSTMDF )
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.LSTMDF = LSTMDF;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"LSTMDF"),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien LSTMDF duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<DMS002Entity> SelectByLSTMDFLST (DateTime LSTMDF, SelectOptions option)
        { 
            DMS002Entity obj = new DMS002Entity();
            obj.LSTMDF = LSTMDF;  
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"LSTMDF",option),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectWithConditionLST (DMS002Entity obj)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectWithCondition(obj),new DMS002Entity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien duoc set trong object
        /// </summary>
        /// <returns>List<DMS002Entity></returns>
        public List<DMS002Entity> SelectWithConditionLST (DMS002Entity obj,SelectOptions option)
        { 
            return  (List<DMS002Entity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectWithCondition(obj,option),new DMS002Entity());
        }

}
}
